package com.bootx.util.lottery.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class DrawLotteryHistoryData {

    private ResultDTO result = new ResultDTO();

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ResultDTO {
        private List<DataDTO> data = new ArrayList<>();

        public List<DataDTO> getData() {
            return data;
        }

        public void setData(List<DataDTO> data) {
            this.data = data;
        }

        @JsonIgnoreProperties(ignoreUnknown = true)
        public static class DataDTO {
            private String preDrawTime;
            private Long preDrawIssue;
            private String preDrawCode;

            public String getPreDrawTime() {
                return preDrawTime;
            }

            public void setPreDrawTime(String preDrawTime) {
                this.preDrawTime = preDrawTime;
            }

            public Long getPreDrawIssue() {
                return preDrawIssue;
            }

            public void setPreDrawIssue(Long preDrawIssue) {
                this.preDrawIssue = preDrawIssue;
            }

            public String getPreDrawCode() {
                return preDrawCode;
            }

            public void setPreDrawCode(String preDrawCode) {
                this.preDrawCode = preDrawCode;
            }
        }
    }
}
